package edu.hitsz.propfactory;

import edu.hitsz.aircraft.AbstractEnemy;
import edu.hitsz.prop.AbstractProp;
import edu.hitsz.prop.BulletProp;

public class BulletFactory extends PropFactory {
    @Override
    public AbstractProp createProp(AbstractEnemy vanishedEnemy) {
        setProp(vanishedEnemy);
        return new BulletProp(locationX,locationY,speedX,speedY);
    }
}
